/*
 * Copyright (c) 2002-2004, xRhino, Inc.
 *
 * This library is free software; you can redistribute and/or modify
 * it under the terms of the dual license distributed with this source
 * package (a combined Trolltech QPL/GPL-compatible license)
 *
 * Under this dual license scheme, a separate license is available for use of 
 * this code with a proprietary (closed) system. For more information on the 
 * license, please see the LICENSE file distributed with this source package.
 */
#include "SugRectElement.h"

SugRealType SugRectElement::getX()
{
   return mX;
}

SugRealType SugRectElement::getY()
{
   return mY;
}

SugRealType SugRectElement::getWidth()
{
   return mWidth;
}

SugRealType SugRectElement::getHeight()
{
   return mHeight;
}

SugRealType SugRectElement::getRx()
{
   return mRx;
}

SugRealType SugRectElement::getRy()
{
   return mRy;
}

SugRealType SugRectElement::setX(SugRealType newX)
{
   mX = newX;
   return newX;
}

SugRealType SugRectElement::setY(SugRealType newY)
{
   mY = newY;
   return newY;
}

SugRealType SugRectElement::setWidth(SugRealType newWidth)
{
   mWidth = newWidth;
   return newWidth;
}

SugRealType SugRectElement::setHeight(SugRealType newHeight)
{
   mHeight = newHeight;
   return newHeight;
}

SugRealType SugRectElement::setRx(SugRealType newRx)
{
   mRx = newRx;
   return newRx;
}

SugRealType SugRectElement::setRy(SugRealType newRy)
{
   mRy = newRy;
   return newRy;
}

SugRectElement::SugRectElement()
{
   setElementType(SugTypes::E_RECT);
}

SugRectElement::~SugRectElement()
{
}

